package cn.face.sdk;

public abstract interface FaceInterface
{
  public static abstract interface cw_camera_errcode_t extends FaceInterface
  {
    public static final int CW_HWSDK_ERR_OK = 0;
    public static final int CW_HWSDK_ERR_OPEN_VIS_CAMERA = 30000;
    public static final int CW_HWSDK_ERR_OPEN_NIS_CAMERA = 30001;
    public static final int CW_HWSDK_ERR_GRAB_VIS_CAMERA = 30002;
    public static final int CW_HWSDK_ERR_GRAB_NIS_CAMERA = 30003;
    public static final int CW_HWSDK_ERR_VIS_MEMORY = 30004;
    public static final int CW_HWSDK_ERR_NIS_MEMORY = 30005;
    public static final int HWSDK_ERR_CAMERA_OPEND = 30006;
  }

  public static abstract interface cw_camera_fmt_t extends FaceInterface
  {
    public static final int CW_HW_IMAGE_FMT_NONE = 0;
    public static final int CW_HW_IMAGE_FMT_YUV420P = 1;
  }

  public static abstract interface cw_errcode_t extends FaceInterface
  {
    public static final int CW_SDKLIT_OK = 0;
    public static final int CW_UNKNOWN_ERR = 20000;
    public static final int CW_DETECT_INIT_ERR = 20001;
    public static final int CW_KEYPT_INIT_ERR = 20002;
    public static final int CW_QUALITY_INIT_ERR = 20003;
    public static final int CW_DET_ERR = 20004;
    public static final int CW_TRACK_ERR = 20005;
    public static final int CW_KEYPT_ERR = 20006;
    public static final int CW_ALIGN_ERR = 20007;
    public static final int CW_QUALITY_ERR = 20008;
    public static final int CW_EMPTY_FRAME_ERR = 20009;
    public static final int CW_UNSUPPORT_FORMAT_ERR = 20010;
    public static final int CW_ROI_ERR = 20011;
    public static final int CW_UNINITIALIZED_ERR = 20012;
    public static final int CW_MINMAX_ERR = 20013;
    public static final int CW_OUTOF_RANGE_ERR = 20014;
    public static final int CW_UNAUTHORIZED_ERR = 20015;
    public static final int CW_METHOD_UNAVAILABLE = 20016;
    public static final int CW_PARAM_INVALID = 20017;
    public static final int CW_BUFFER_EMPTY = 20018;
    public static final int CW_FILE_UNAVAILABLE = 20019;
    public static final int CW_DEVICE_UNAVAILABLE = 20020;
    public static final int CW_DEVICE_ID_UNAVAILABLE = 20021;
    public static final int CW_EXCEEDMAXHANDLE_ERR = 20022;
    public static final int CW_RECOG_FEATURE_MODEL_ERR = 20023;
    public static final int CW_RECOG_ALIGNEDFACE_ERR = 20024;
    public static final int CW_RECOG_MALLOCMEMORY_ERR = 20025;
    public static final int CW_RECOG_FILEDDATA_ERR = 20026;
    public static final int CW_RECOG_PROBEDATA_ERR = 20027;
    public static final int CW_RECOG_EXCEEDMAXFEASPEED = 20028;
    public static final int CW_RECOG_EXCEEDMAXCOMSPEED = 20029;
    public static final int CW_ATTRI_AGEGENDER_MODEL_ERR = 20030;
    public static final int CW_ATTRI_EVAL_AGEGENDER_ERR = 20031;
    public static final int CW_SERVICE_REGISTID_EXIST = 20032;
    public static final int CW_SERVICE_UNREGISTID_NOEXIST = 20033;
    public static final int CW_SERVICE_RECOG_GROUP_EMPTY = 20034;
    public static final int CW_LICENCE_ACCOUNT_TIMEOUT = 20035;
    public static final int CW_LICENCE_HTTP_ERROR = 20036;
    public static final int CW_LICENCE_MALLOCMEMORY_ERR = 20037;
    public static final int CW_INSTALL_KEY_ENCRYPT_ERR = 20038;
    public static final int CW_INSTALL_KEY_EXIST_ERR = 20039;
    public static final int CW_INSTALL_KEY_GETC2V_ERR = 20040;
    public static final int CW_INSTALL_KEY_GETV2C_ERR = 20041;
    public static final int CW_INSTALL_KEY_INSTALL_ERR = 20042;
  }

  public static abstract interface cw_img_angle_t extends FaceInterface
  {
    public static final int CW_IMAGE_ANGLE_0 = 0;
    public static final int CW_IMAGE_ANGLE_90 = 1;
    public static final int CW_IMAGE_ANGLE_180 = 2;
    public static final int CW_IMAGE_ANGLE_270 = 3;
  }

  public static abstract interface cw_img_form_t extends FaceInterface
  {
    public static final int CW_IMAGE_GRAY8 = 0;
    public static final int CW_IMAGE_BGR888 = 1;
    public static final int CW_IMAGE_BGRA8888 = 2;
    public static final int CW_IMAGE_RGB888 = 3;
    public static final int CW_IMAGE_RGBA8888 = 4;
    public static final int CW_IMAGE_YUV420P = 5;
    public static final int CW_IMAGE_YV12 = 6;
    public static final int CW_IMAGE_NV12 = 7;
    public static final int CW_IMAGE_NV21 = 8;
    public static final int CW_IMAGE_BINARY = 9;
  }

  public static abstract interface cw_img_mirror_t extends FaceInterface
  {
    public static final int CW_IMAGE_MIRROR_NONE = 0;
    public static final int CW_IMAGE_MIRROR_HOR = 1;
    public static final int CW_IMAGE_MIRROR_VER = 2;
    public static final int CW_IMAGE_MIRROR_HV = 3;
  }

  public static abstract interface cw_install_key_flag_t extends FaceInterface
  {
    public static final int CW_RETERROR_IFEXIST = 0;
    public static final int CW_INSTALLSTILL_IFEXIST = 1;
  }

  public static abstract interface cw_nirliv_camera_type_t extends FaceInterface
  {
    public static final int CW_NIR_LIV_DET_MONOCULAR = 0;
    public static final int CW_NIR_LIV_DET_BINOCULAR = 1;
  }

  public static abstract interface cw_nirliv_det_rst_t extends FaceInterface
  {
    public static final int CW_NIR_LIV_DET_LIVE = 0;
    public static final int CW_NIR_LIV_DET_UNLIVE = 1;
    public static final int CW_NIR_LIV_DET_DIST_FAILED = 2;
    public static final int CW_NIR_LIV_DET_SKIN_FAILED = 3;
    public static final int CW_NIR_LIV_DET_NO_PAIR_FACE = 4;
    public static final int CW_NIR_LIV_DET_IS_INIT = 5;
  }

  public static abstract interface cw_nirliv_det_type_t extends FaceInterface
  {
    public static final int CW_NIR_LIV_MODE_NEARST_FACE = 0;
    public static final int CW_NIR_LIV_MODE_MULTI_FACES = 1;
  }

  public static abstract interface cw_nirliveness_err_t extends FaceInterface
  {
    public static final int CW_NIRLIV_OK = 0;
    public static final int CW_NIRLIV_ERR_CREATE_HANDLE = 26000;
    public static final int CW_NIRLIV_ERR_FREE_HANDLE = 26001;
    public static final int CW_NIRLIV_ERR_FACE_PAIR = 26002;
    public static final int CW_NIRLIV_ERR_CREAT_LOG_DIR = 26003;
    public static final int CW_NIRLIV_ERR_MODEL_NOTEXIST = 26004;
    public static final int CW_NIRLIV_ERR_MODEL_FAILED = 26005;
    public static final int CW_NIRLIV_ERR_INPUT_UNINIT = 26006;
    public static final int CW_NIRLIV_ERR_NIR_NO_FACE = 26007;
    public static final int CW_NIRLIV_ERR_VIS_NO_FACE = 26008;
    public static final int CW_NIRLIV_ERR_NO_PAIR_FACE = 26009;
    public static final int CW_NIRLIV_ERR_PUSH_DATA = 26010;
    public static final int CW_NIRLIV_ERR_NUM_LANDMARKS = 26011;
    public static final int CW_NIRLIV_ERR_NO_LANDMARKS = 26012;
    public static final int CW_NIRLIV_ERR_INPUT_IMAGE = 26013;
    public static final int CW_NIRLIV_ERR_UNAUTHORIZED = 26014;
    public static final int CW_NIRLIV_ERR_FACE_NUM_ERR = 26015;
    public static final int CW_NIRLIV_ERR_CAM_UNCW = 26016;
    public static final int CW_NIRLIV_ERR_UNKNOWN = 26017;
    public static final int CW_NIRLIV_ERR_MAXHANDLE = 26018;
    public static final int CW_NIRLIV_ERR_NIRIMAGE = 26019;
    public static final int CW_NIRLIV_ERR_VISIMAGE = 26020;
  }

  public static abstract interface cw_op_t extends FaceInterface
  {
    public static final int CW_OP_DET = 0;
    public static final int CW_OP_TRACK = 2;
    public static final int CW_OP_KEYPT = 4;
    public static final int CW_OP_ALIGN = 8;
    public static final int CW_OP_QUALITY = 16;
    public static final int CW_OP_ALL = 30;
  }

  public static abstract interface cw_quality_errcode_t extends FaceInterface
  {
    public static final int CW_QUALITY_OK = 0;
    public static final int CW_QUALITY_NO_DATA = 20150;
    public static final int CW_QUALITY_ERROR_UNKNOWN = 20151;
  }

  public static abstract interface cw_recog_pattern_t extends FaceInterface
  {
    public static final int CW_FEATURE_EXTRACT = 0;
    public static final int CW_RECOGNITION = 1;
  }

  public static abstract interface cw_save_key_flag_t extends FaceInterface
  {
    public static final int CW_SAVE_ALL = 0;
    public static final int CW_SAVE_ONLY_V2C = 1;
    public static final int CW_SAVE_ONLY_C2V = 2;
    public static final int CW_SAVE_NONE = 3;
  }
}